package com.applcn.file.client;


import com.applcn.core.base.Result;
import com.applcn.file.FileConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 文件服务开放api
 */
@FeignClient(name = FileConstant.SERVICE_NAME, url = "${applcn.file-service-endpoint}", path = "/feign/file")
public interface FileClient {

    @GetMapping(value = "/test")
    Result test();
}
